package com.qf.condition;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class MainApp {
    public static void main(String[] args) {
        ApplicationContext ioc = new AnnotationConfigApplicationContext(TestConfig.class);

        Stu bean = ioc.getBean(Stu.class);

        System.out.println(bean);
    }
}
